<?php

namespace Openfennec\CoreBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Table(name="openfennec_sites")
 * @ORM\Entity
 */
class Site {
    /**
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @ORM\Column(name="name", type="string", length=25)
     */
    private $name;
    
    /**
     * @ORM\Column(name="slogan", type="string", length=25)
     */
    private $slogan;
    
    /**
     * @ORM\Column(name="email", type="string", length=255)
     */
    private $email;
    
    /**
     * @ORM\Column(name="date_created", type="date")
     */
    private $dateCreated;
    
    /**
     * @ORM\Column(name="is_offline", type="boolean")
     */
    private $isOffline;
    
    public function getId() {
        return $this->id;
    }

    public function getName() {
        return $this->name;
    }

    public function getSlogan() {
        return $this->slogan;
    }

    public function getEmail() {
        return $this->email;
    }

    public function getDateCreated() {
        return $this->dateCreated;
    }

    public function getIsOffline() {
        return $this->isOffline;
    }

    public function setName($name) {
        $this->name = $name;
    }

    public function setSlogan($slogan) {
        $this->slogan = $slogan;
    }

    public function setEmail($email) {
        $this->email = $email;
    }

    public function setDateCreated($dateCreated) {
        $this->dateCreated = $dateCreated;
    }

    public function setIsOffline($isOffline) {
        $this->isOffline = $isOffline;
    }
}
